<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script src="../bin/traceur.js"></script>
<script src="test-utils.js"></script>
<script src="test-list.js"></script>
<script>

mocha.setup({ui: 'tdd'});

</script>
<script src="unit/codegeneration/PlaceholderParser.generated.js" type="module"></script>
<script src="unit/codegeneration/SourceMap.js"></script>
<script src="unit/codegeneration/low_level_tests.js"></script>
<script src="unit/codegeneration/writer.js"></script>
<script src="unit/runtime/Loader.js"></script>
<script src="unit/semantics/FreeVariableChecker.generated.js" type="module"  ></script>
<script src="unit/semantics/VariableBinder.js"></script>
<script src="unit/syntax/LineNumbers.js"></script>
<script src="unit/syntax/ParseTreeValidator.js"></script>
<script src="unit/syntax/Token.js"></script>
<script src="unit/syntax/parser.js"></script>
<script src="unit/system/Hello.js"></script>
<script src="unit/util/ErrorReporter.js"></script>
<script src="unit/util/url.js"></script>
<div id="mocha"></div>
<script>

(function() {
  'use strict';

  function getLoader() {
    var LoaderHooks = traceur.modules.LoaderHooks;
    var url = window.location.href;
    var loaderHooks = new LoaderHooks(new traceur.util.ErrorReporter(), url);
    return new traceur.modules.Loader(loaderHooks);
  }

  getLoader().import('../src/runtime/webLoader', function(module) {
	  featureSuite(testList, module.webLoader);

	  new traceur.WebPageTranscoder(document.location.href).run(function() {
	    mocha.run();
	  });
  }, function(error) {
  	console.error(error);
  });


})();

</script>
